package WebRoot;

import java.util.List;

import org.hoyi.dishop.Hoyipage;
import org.hoyi.util.DateTimeUtil;

import model.orders;


public class index extends Hoyipage{
	
	public void DDS() {
		this.WriteUTF8HTML("HOW ARE YOU");
	}
	
	public String AREU() {
		orders _Orders = new orders("o1", "o2", DateTimeUtil.getCurrentDateTime(), "notes");
		int ret = _Orders.Insert();
		return "INSERT:" + String.valueOf(ret);
	}
	
	public String GetData() {
		List<orders> _orders = orders.E().Select();
		return _orders.toArray().toString();
	}

}
